package com.hdoit.ares.web.cust.modelconfig;

import com.tennetcn.component.attribute.DateTimeAttribute;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

/**
 * @author      caochengmeng
 * @email       
 * @createtime  2017年11月20日 17:06:22
 * @comment
 */
public class WithdrawRecordConfig extends ModelMetadataAttributeConfiguration{
    public WithdrawRecordConfig(){
        this.setProperty("ApplicationNo")
            .hasAttribute(new DisplayNameAttribute("申请单号"));

        this.setProperty("WithdrawalAmount")
            .hasAttribute(new DisplayNameAttribute("提现金额"));

        this.setProperty("ApplicationDate")
            .hasAttribute(new DisplayNameAttribute("申请时间"))
            .hasAttribute(new DateTimeAttribute());

        this.setProperty("ExpectDate")
            .hasAttribute(new DisplayNameAttribute("到账时间"))
            .hasAttribute(new DateTimeAttribute());

        this.setProperty("ApplicationState")
            .hasAttribute(new DisplayNameAttribute("申请状态"));

        this.setProperty("Applicationer")
            .hasAttribute(new DisplayNameAttribute("申请人"));

        this.setProperty("HandleName")
            .hasAttribute(new DisplayNameAttribute("处理人"));

        this.setProperty("HandleTime")
            .hasAttribute(new DisplayNameAttribute("处理时间"))
            .hasAttribute(new DateTimeAttribute());

    }
}